package com.zkyc.framework.website.controller;


import com.alibaba.fastjson.JSONObject;
import com.zkyc.framework.common.vo.ResultVO;
import com.zkyc.framework.website.service.DashBoardService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@Slf4j
@RestController
@RequestMapping
public class DashBoardController {

    @Autowired
    private DashBoardService dashBoardService;

    @GetMapping("/getDashboardData")
    public ResultVO getDashboardData(Integer websiteId) {
        return dashBoardService.getDashboardData(websiteId);
    }
}
